[INFO] cloning repository https://github.com/LayerXcom/bellman-substrate
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LayerXcom/bellman-substrate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLayerXcom%2Fbellman-substrate", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLayerXcom%2Fbellman-substrate'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 51f00533b7736835c2c06f5028d9a51c7715bfb2
[INFO] documenting LayerXcom/bellman-substrate against nightly+rustdocflags=-Zunstable-options -wjson for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLayerXcom%2Fbellman-substrate" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/LayerXcom/bellman-substrate on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/LayerXcom/bellman-substrate
[INFO] finished tweaking git repo https://github.com/LayerXcom/bellman-substrate
[INFO] tweaked toml for git repo https://github.com/LayerXcom/bellman-substrate written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/LayerXcom/bellman-substrate already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 62b8f128b62f37bb2e05e7a4d67f9131f4bb8f1818cd158fe0fbfd3970d15582
[INFO] running `Command { std: "docker" "start" "-a" "62b8f128b62f37bb2e05e7a4d67f9131f4bb8f1818cd158fe0fbfd3970d15582", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62b8f128b62f37bb2e05e7a4d67f9131f4bb8f1818cd158fe0fbfd3970d15582", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62b8f128b62f37bb2e05e7a4d67f9131f4bb8f1818cd158fe0fbfd3970d15582", kill_on_drop: false }`
[INFO] [stdout] 62b8f128b62f37bb2e05e7a4d67f9131f4bb8f1818cd158fe0fbfd3970d15582
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow -Zunstable-options -wjson" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6421ba86e182e08bfc602d3cf0b2a268d88e4db3a66134d70a55948388cce463
[INFO] running `Command { std: "docker" "start" "-a" "6421ba86e182e08bfc602d3cf0b2a268d88e4db3a66134d70a55948388cce463", kill_on_drop: false }`
[INFO] [stderr]     Checking pairing v0.14.2 (/opt/rustwide/workdir/pairing)
[INFO] [stderr]  Documenting pairing v0.14.2 (/opt/rustwide/workdir/pairing)
[INFO] [stderr]     Checking bellman v0.1.0 (/opt/rustwide/workdir/bellman)
[INFO] [stderr]  Documenting bellman-verifier v0.1.0 (/opt/rustwide/workdir/bellman-verifier)
[INFO] [stderr]  Documenting jubjub v0.1.0 (/opt/rustwide/workdir/jubjub)
[INFO] [stderr]  Documenting bellman v0.1.0 (/opt/rustwide/workdir/bellman)
[INFO] [stderr]     Checking sapling-crypto v0.0.1 (/opt/rustwide/workdir/sapling-crypto)
[INFO] [stderr]  Documenting sapling-crypto v0.0.1 (/opt/rustwide/workdir/sapling-crypto)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> sapling-crypto/src/jubjub/edwards.rs:107:24
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn read<R: Read>(
[INFO] [stdout]     |                 - this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 107 |         y_repr.read_le(reader)?;
[INFO] [stdout]     |                ------- ^^^^^^ expected `&[u8]`, found type parameter `R`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected reference `&[u8]`
[INFO] [stdout]             found type parameter `R`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/pairing/src/lib.rs:515:8
[INFO] [stdout]     |
[INFO] [stdout] 515 |     fn read_le(&mut self, mut reader: &[u8]) -> Result<(), IoError> {        
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error`
[INFO] [stdout]    --> sapling-crypto/src/jubjub/edwards.rs:107:31
[INFO] [stdout]     |
[INFO] [stdout] 107 |         y_repr.read_le(reader)?;
[INFO] [stdout]     |                               ^ the trait `From<pairing::IoError>` is not implemented for `std::io::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <std::io::Error as From<ErrorKind>>
[INFO] [stdout]               <std::io::Error as From<IntoInnerError<W>>>
[INFO] [stdout]               <std::io::Error as From<NulError>>
[INFO] [stdout]               <std::io::Error as From<rand_core::error::Error>>
[INFO] [stdout]     = note: required because of the requirements on the impl of `FromResidual<Result<Infallible, pairing::IoError>>` for `Result<jubjub::edwards::Point<E, jubjub::Unknown>, std::io::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> sapling-crypto/src/jubjub/edwards.rs:213:25
[INFO] [stdout]     |
[INFO] [stdout] 198 |     pub fn write<W: Write>(
[INFO] [stdout]     |                  - this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 213 |         y_repr.write_le(writer)
[INFO] [stdout]     |                -------- ^^^^^^ expected `&mut [u8]`, found type parameter `W`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut [u8]`
[INFO] [stdout]                   found type parameter `W`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/pairing/src/lib.rs:504:8
[INFO] [stdout]     |
[INFO] [stdout] 504 |     fn write_le(&self, writer: &mut [u8]) -> Result<(), IoError> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> sapling-crypto/src/jubjub/edwards.rs:213:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |     ) -> io::Result<()>
[INFO] [stdout]     |          -------------- expected `Result<(), std::io::Error>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 213 |         y_repr.write_le(writer)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::io::Error`, found enum `pairing::IoError`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Result<_, std::io::Error>`
[INFO] [stdout]                found enum `Result<_, pairing::IoError>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> sapling-crypto/src/jubjub/fs.rs:274:53
[INFO] [stdout]     |
[INFO] [stdout] 274 |             Err(PrimeFieldDecodingError::NotInField(format!("{}", r.0)))
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^ expected `&str`, found struct `String`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> sapling-crypto/src/redjubjub.rs:16:20
[INFO] [stdout]     |
[INFO] [stdout] 14  | fn read_scalar<E: JubjubEngine, R: Read>(reader: R) -> io::Result<E::Fs> {
[INFO] [stdout]     |                                 - this type parameter
[INFO] [stdout] 15  |     let mut s_repr = <E::Fs as PrimeField>::Repr::default();
[INFO] [stdout] 16  |     s_repr.read_le(reader)?;
[INFO] [stdout]     |            ------- ^^^^^^ expected `&[u8]`, found type parameter `R`
[INFO] [stdout]     |            |
[INFO] [stdout]     |            arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected reference `&[u8]`
[INFO] [stdout]             found type parameter `R`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/pairing/src/lib.rs:515:8
[INFO] [stdout]     |
[INFO] [stdout] 515 |     fn read_le(&mut self, mut reader: &[u8]) -> Result<(), IoError> {        
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error`
[INFO] [stdout]   --> sapling-crypto/src/redjubjub.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn read_scalar<E: JubjubEngine, R: Read>(reader: R) -> io::Result<E::Fs> {
[INFO] [stdout]    |                                                        ----------------- expected `std::io::Error` because of this
[INFO] [stdout] 15 |     let mut s_repr = <E::Fs as PrimeField>::Repr::default();
[INFO] [stdout] 16 |     s_repr.read_le(reader)?;
[INFO] [stdout]    |                           ^ the trait `From<pairing::IoError>` is not implemented for `std::io::Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              <std::io::Error as From<ErrorKind>>
[INFO] [stdout]              <std::io::Error as From<IntoInnerError<W>>>
[INFO] [stdout]              <std::io::Error as From<NulError>>
[INFO] [stdout]              <std::io::Error as From<rand_core::error::Error>>
[INFO] [stdout]    = note: required because of the requirements on the impl of `FromResidual<Result<Infallible, pairing::IoError>>` for `Result<<E as jubjub::JubjubEngine>::Fs, std::io::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> sapling-crypto/src/redjubjub.rs:28:28
[INFO] [stdout]     |
[INFO] [stdout] 27  | fn write_scalar<E: JubjubEngine, W: Write>(s: &E::Fs, writer: W) -> io::Result<()> {
[INFO] [stdout]     |                                  - this type parameter
[INFO] [stdout] 28  |     s.into_repr().write_le(writer)
[INFO] [stdout]     |                   -------- ^^^^^^ expected `&mut [u8]`, found type parameter `W`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut [u8]`
[INFO] [stdout]                   found type parameter `W`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/pairing/src/lib.rs:504:8
[INFO] [stdout]     |
[INFO] [stdout] 504 |     fn write_le(&self, writer: &mut [u8]) -> Result<(), IoError> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> sapling-crypto/src/redjubjub.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn write_scalar<E: JubjubEngine, W: Write>(s: &E::Fs, writer: W) -> io::Result<()> {
[INFO] [stdout]    |                                                                     -------------- expected `Result<(), std::io::Error>` because of return type
[INFO] [stdout] 28 |     s.into_repr().write_le(writer)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::io::Error`, found enum `pairing::IoError`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<_, std::io::Error>`
[INFO] [stdout]               found enum `Result<_, pairing::IoError>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sapling-crypto` due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "6421ba86e182e08bfc602d3cf0b2a268d88e4db3a66134d70a55948388cce463", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6421ba86e182e08bfc602d3cf0b2a268d88e4db3a66134d70a55948388cce463", kill_on_drop: false }`
[INFO] [stdout] 6421ba86e182e08bfc602d3cf0b2a268d88e4db3a66134d70a55948388cce463
